const Joi = require('joi')

exports.connection = Joi.object()
  .keys({
    userId: Joi.string().required(),
    msg_type: Joi.string().optional(),
  })
  .label('connection')
